﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MRP_MasterPage.master" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %>

<%@ Register TagPrefix="EVOL" Namespace="Evolutility" Assembly="Evolutility.UIServer" %>


<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script src="PixEvo/JS/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="PixEvo/JS/jquery-ui-1.7.2.custom.min.js" type="text/javascript"></script>
<script type="text/javascript">

    $(document).ready(function() {
    $("#dialog").dialog(
    { buttons: { "关闭&ESC": function() {
        $(this).dialog("close");
    },
        "保存": function() {
            $(this).dialog("close");
        }
    },
        autoOpen: false,
        modal: true,
        closeOnEscape: true


    });

    $("#btn").bind("click", function() {
        $("#dialog").dialog('open');
    });

    });

</script>


<div id="dialog" title="创建" style="display:none">
 <form>
       <EVOL:UIServer ID="UIServer1" runat="server" BackColor="#EDEDED" BackColorRowMouseOver="Beige"
        CssClass="main1" DBAllowExport="false" DBAllowInsertDetails="true" DBAllowUpdateDetails="true"
        DisplayModeStart="NewItem" RowsPerPage="60" SecurityModel="Single_User_Password"  Text="雇员信息" 
        VirtualPathPictures="./PixEvo/" ToolbarPosition="None" VirtualPathToolbar="./PixEvo/" Width="100%" 
        XMLfile="XML/MRP_Employee.xml" />

 </form>
</div>
<button id="btn">open</button>


</asp:Content>

